Checkbox Value Constants
The checkbox value constants specify the value of a standard
checkbox control and are passed in the newValue
parameter of SetControlValue
and are returned by GetControlValue
. The checkbox value constants are changed with Appearance Manager 1.0 to support mixed-value checkboxes.
enum {
kControlCheckboxUncheckedValue = 0,
kControlCheckboxCheckedValue = 1,
kControlCheckboxMixedValue = 2
};
Constant descriptions
-
kControlCheckboxUncheckedValue
-
The checkbox is unchecked.
-
kControlCheckboxCheckedValue
-
The checkbox is checked.
-
kControlCheckboxMixedValue
-
Mixed value. Indicates that a setting is on for some elements in a selection and off for others. This state only applies to standard Appearance-compliant checkboxes.
© 1998 Apple Computer, Inc. – (Last Updated 19 Nov 98)